package org.infodavid.common.ejb.components;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import org.infodavid.common.impl.model.GeoLocationImpl;

/**
 * The Class GeoLocationComponent.
 */
@Embeddable
public class GeoLocationComponent extends GeoLocationImpl {

	/** serialVersionUID. */
	private static final long serialVersionUID = -7948981883198179487L;

	/**
	 * The Constructor.
	 * @throws Exception the exception
	 */
	protected GeoLocationComponent() throws Exception {
		super();
	}

	/*
	 * (non-Javadoc)
	 * @see org.infodavid.common.model.entities.impl.GeoLocationImpl#getLatitude()
	 */
	@Override
	@Column(name = LATITUDE, nullable = true)
	public float getLatitude() {
		return super.getLatitude();
	}

	/*
	 * (non-Javadoc)
	 * @see org.infodavid.common.model.entities.impl.GeoLocationImpl#getLongitude()
	 */
	@Override
	@Column(name = LONGITUDE, nullable = true)
	public float getLongitude() {
		return super.getLongitude();
	}
}
